package com.st.shopadmin.pojo;

import java.util.Date;

public class ManagerUser {
    private Long uid;

    private Integer userLevel;

    private Integer accountStatus;

    private Date lastLoginTime;

    private Date lastLoginIp;

    private String username;

    private String password;

    private String email;

    public ManagerUser(Long uid, Integer userLevel, Integer accountStatus, Date lastLoginTime, Date lastLoginIp, String username, String password, String email) {
        this.uid = uid;
        this.userLevel = userLevel;
        this.accountStatus = accountStatus;
        this.lastLoginTime = lastLoginTime;
        this.lastLoginIp = lastLoginIp;
        this.username = username;
        this.password = password;
        this.email = email;
    }

    public ManagerUser() {
        super();
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public Integer getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(Integer userLevel) {
        this.userLevel = userLevel;
    }

    public Integer getAccountStatus() {
        return accountStatus;
    }

    public void setAccountStatus(Integer accountStatus) {
        this.accountStatus = accountStatus;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public Date getLastLoginIp() {
        return lastLoginIp;
    }

    public void setLastLoginIp(Date lastLoginIp) {
        this.lastLoginIp = lastLoginIp;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }
}